using System;
using System.Numerics;



namespace NodeBasedSkillEditor.Model.Node
{
    [Node(Category = DAGHelper.CateName_List, Name = "Build List [ ]")]
    [NodeTypeGroup(TypeGroupId = 1, AllowedTypes = new Type[] {
        typeof(bool), typeof(int), typeof(float), typeof(Vector2), typeof(Vector3), typeof(string), typeof(Enum)
    })]
    public class Node_BuildList : NodeData
    {
        [Port(IOType = EPortIOType.Input, TypeGroup = 1)]
        public PortGroup Values = new PortGroup();

        [Port(IOType = EPortIOType.Output, TypeGroup = 1, IsListPort = true, ContextMode = EPortContextMode.Isolate)]
        public ValuePort ValueList = new ValuePort();

        public override RT_Node BuildRuntimeNode(RT_DAG parentDAG)
        {
            return new RT.Node_BuildList_RT(this, parentDAG);
        }
    }
}
